<body class="inside-header inside-aside ">
<div id="main" role="main">
  <div class="tab-content tab-addtabs">
    <div id="content">
      <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
          <section class="content-header hide">
            <h1>
              控制台 <small>Control panel</small>
            </h1>
          </section>
          <!-- RIBBON -->
          <!-- <div id="ribbon">
              <ol class="breadcrumb pull-left">
                  <li><a href="/lrt_login/home/main" class="addtabsit"><i class="fa fa-dashboard"></i> 控制台</a></li>
              </ol>
              <ol class="breadcrumb pull-right">
                  <li><a href="javascript:;" data-url="/lrt_login/home/main">控制台 </a> </li>
              </ol>
          </div> -->
          <!-- END RIBBON -->
          <div class="content">
            <div class="panel panel-default panel-intro">
              <div class="panel-heading">
                <ul class="nav nav-tabs">
                  <li class="active"><a href="#one" data-toggle="tab">控制台</a></li>
                  <!-- <li><a href="/adm/count/index">订单统计</a></li> -->
                </ul>
              </div>
              <div class="panel-body">
                <div class="row">
                  <div class="col-md-6">
                    <div class=" panel panel-default">
                      <div class="panel-heading">登录信息</div>
                      <ul class="list-group">
                        <li class="list-group-item">
                          <strong>用户名：</strong><?= $admin['username'] ?>
                        </li>
                        <li class="list-group-item">
                          <strong>用户级别：</strong><?php if ($admin['id'] == 1) : ?>超级管理员<?php else : ?><?= $admin->role->name ?><?php endif; ?>
                        </li>
                      </ul>
                    </div>
                  </div>
                  <div class="col-md-6">
                    <div class=" panel panel-default">
                      <div class="panel-heading">信息统计</div>
                      <ul class="list-group">
                        <li class="list-group-item">
                          <strong>管理员数：</strong><?=$mainCnt['admin']?>
                        </li>
                        <li class="list-group-item">
                          <strong>文章数：</strong><?=$mainCnt['news']?>
                        </li>
                      </ul>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

</body>